.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.product-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-gallery {
    position: relative;
    width: 500px;
    height: 500px;
    margin-right: 40px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    border-radius: 8px;
}

.magnifier {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: white;
    border: 1px solid #cecccc;
    pointer-events: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-left: 560px;
    margin-top: -500px;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    left: 100px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail-list img:hover {
    border-color: #e4393c;
}

.thumbnail-list img.active {
    border-color: #e4393c;
}

.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-section {
    margin-bottom: 30px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.price {
    font-size: 28px;
    color: #e4393c;
    font-weight: bold;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.specs-section {
    margin-bottom: 30px;
}

.specs-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.spec-btn:hover {
    border-color: #e4393c;
    color: #e4393c;
}

.spec-btn.selected {
    border-color: #e4393c;
    color: #e4393c;
    background: #fff1f1;
}

.services-section,
.accessories-section {
    margin-bottom: 30px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.service-item,
.accessory-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.service-item:last-child,
.accessory-item:last-child {
    border-bottom: none;
}

.service-item label,
.accessory-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.service-price {
    margin-left: auto;
    color: #e4393c;
    font-weight: 500;
}

.accessory-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    margin-right: 15px;
}

.accessory-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.accessory-name {
    font-size: 14px;
    color: #333;
}

.accessory-price {
    color: #e4393c;
    font-weight: 500;
}

.total-section {
    margin-top: 30px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
}

.total-price {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e4393c;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.add-to-cart,
.buy-now {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart {
    background: #fff1f1;
    color: #e4393c;
    border: 1px solid #e4393c;
}

.add-to-cart:hover {
    background: #ffe4e4;
}

.buy-now {
    background: #e4393c;
    color: white;
}

.buy-now:hover {
    background: #c1272d;
}

.product-details {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-details h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.parameters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.parameter-item {
    display: flex;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.parameter-key {
    width: 120px;
    color: #666;
}

.parameter-value {
    flex: 1;
    color: #333;
}